import React, {Component}    from 'react';
import BaseNavigationBar     from '../../views/BaseNavigationBar';
import {StyleSheet,View}     from 'react-native';

export default class BeansPrizeScreen extends Component {

    popToBack(){
        this.props.navigation.goBack()
    }

    render() {
        return (
            <View style={styles.container}>
                <BaseNavigationBar
                    title={'荷豆兑奖'}
                    leftImageSource={require('../../../images/other/ic_back.png')}
                    leftItemFunc={() => this.popToBack()}/>
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
        flex: 1,
        flexDirection: 'column',
    }
});
